<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>display none的作用</title>
		<style>
			div#d1{
				height: 500px;
				background-color: gold;
				display: none;
			}
			div#d2{
				height: 500px;
				background-color: firebrick;
				visibility: hidden;
			}
			h2{
				background-color: darkmagenta;
			}
		</style>
	</head>
	<body>
		<div id="d1">11111111111</div>
		<div id="d2">22222222222</div>
		<h2>教育改变生活</h2>
	</body>
</html>